﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace WebMotel
{
    public partial class About : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            printComanda();
        }
        public void printComanda()
        {

            try
            {

                System.IO.TextWriter arquivo = System.IO.File.AppendText(Server.MapPath("/print/comanda.txt"));
                arquivo.WriteLine("-------- ADOS - SysMotel -------");
                arquivo.WriteLine("--------------------------------");
                arquivo.Close();
            }
            catch (Exception)
            {

                throw;
            }

        }

    }
}
